#include "hal.h"
#include "dbg_tool.h"

/**
 *@brief main function
 */
int main(void)
{
    /* Initiate the HAL libraries */
    hal_init();
    hal_eeprom_init(HAL_I2C1);

    while (1)
    {       
        /* toggle LED1 */
        hal_led_toggle(HAL_LED_ALL);
        hal_delay_ms(100);        
    }
}
